import request from "@/utils/request"

export enum CooperationIntence {
  有意向 = 1,
  无意向 = 2,
}

export enum CooperationWorkType {
  资金方 = 1,
  场地方 = 2,
  资金加场地 = 3,
}

export interface Cooperation {
  id: number
  createTime: number
  username: string
  telephone: string
  /** 有意考察 */
  intence: CooperationIntence
  /** 目标城市 */
  cityName: string
  /** 合作方式 */
  workType: CooperationWorkType
  /** 场地类型 */
  itemType: string
  status: number
}
export async function queryCooperationList(params: PaginationParams) {
  return request<Cooperation[]>('/app/manager/h5Ask/list', {
    data: params,
  })
}
